/*
 * ToolWindow.java
 *
 * Created on 26 de Mar�o de 2007, 21:37
 */

package editorlabirinto;

/**
 *
 * @author  tschimuneck
 */

import javax.swing.JToggleButton;

public class ToolWindow extends javax.swing.JFrame
{
    private Editor editor;
    
    /** Creates new form ToolWindow */
    public ToolWindow(Editor editor)
    {
        initComponents();
        this.editor = editor;
        editor.setToolWindow(this);
        this.setSize(150,300);
    }
    
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    // <editor-fold defaultstate="collapsed" desc=" C�digo Gerado ">//GEN-BEGIN:initComponents
    private void initComponents()
    {
        btnGrpItens = new javax.swing.ButtonGroup();
        spPrincipal = new javax.swing.JScrollPane();
        paThings = new javax.swing.JPanel();

        getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.Y_AXIS));

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setAlwaysOnTop(true);
        paThings.setLayout(new java.awt.GridLayout(10, 0));

        spPrincipal.setViewportView(paThings);

        getContentPane().add(spPrincipal);

        pack();
    }// </editor-fold>//GEN-END:initComponents
    
    // Declara��o de vari�veis - n�o modifique//GEN-BEGIN:variables
    public javax.swing.ButtonGroup btnGrpItens;
    public javax.swing.JPanel paThings;
    private javax.swing.JScrollPane spPrincipal;
    // Fim da declara��o de vari�veis//GEN-END:variables
  
}
